package net.sf.rose.api;

import java.util.ArrayList;
import java.util.List;

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Type;

/** 
 * @author fengjian E-mail: 9110530@qq.com 
 * @version 创建时间：2018年8月11日
 */
public class InterfaceClassBean {

	@Column(type = Type.变长文本, description = "接口类名", size = 100)
	private String name = null;

	@Column(type = Type.变长文本, description = "类标题", size = 50)
	private String title = null;
	private String label = null; // VUE树型组件用

	@Column(type = Type.变长文本, description = "类说明", size = 200)
	private String description = null;

	@Column(type = Type.变长文本, description = "类地址", size = 50)
	private String requestMapping = null;

	@Column(type = Type.数字整型, description = "排序")
	private int sequence = 0;

	private List<InterfaceMethodBean> methods = new ArrayList<>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
		this.label = title;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRequestMapping() {
		return requestMapping;
	}

	public void setRequestMapping(String requestMapping) {
		this.requestMapping = requestMapping;
	}

	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	public List<InterfaceMethodBean> getMethods() {
		return methods;
	}

	public void setMethods(List<InterfaceMethodBean> methods) {
		this.methods = methods;
	}

}
